<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
response.reset();
response.setHeader("Content-type","application/xls");
response.setHeader("Content-disposition","inline; filename=" + request.getParameter("nombre") + ".xls");
%>
<table border="1">		
<tr>
<th><s:text name="comun.resultados.campos.fecha"/></th>
<s:iterator value="matriz_managersPorPais" status="fila">
<s:set name="pais" value="#fila.count"/>	
<th scope="col" class="especial" style="width:70px"><s:text name="estadisticas.comparar_usuarios_pais.etiqueta_1"/> ${pais}</th>
</s:iterator>
</tr>
<s:iterator value="listaResumenInversa">
<tr>
<td><fmt:formatDate value="${fecha}" pattern="dd/MM/yyyy" /></td>
<s:if test="%{matriz_managersPorPais.size>0}">
	<td class="numero">${pos1}</td>
</s:if>
<s:if test="%{matriz_managersPorPais.size>1}">
	<td class="numero">${pos2}</td>
</s:if>
<s:if test="%{matriz_managersPorPais.size>2}">
	<td class="numero">${pos3}</td>
</s:if>
<s:if test="%{matriz_managersPorPais.size>3}">
	<td class="numero">${pos4}</td>
</s:if>
<s:if test="%{matriz_managersPorPais.size>4}">
	<td class="numero">${pos5}</td>
</s:if>
</tr>
</s:iterator>
</table>